<!DOCTYPE html>

<html lang="es" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="distribution" content="global" />
		<meta name="description" content="Sistema Gestion Tesoreria AGOEC" />
		<meta name="keywords" content="tesoreria, gestion, agoec" />
		<link rel="stylesheet" type="text/css" media="screen,projection,print" href="${resource(dir:'css',file:'layout2_setup.css')}" />
		<link rel="stylesheet" type="text/css" media="screen,projection,print" href="${resource(dir:'css',file:'layout2_text.css')}" />
        <title><g:layoutTitle default="AGOEC - Tesoreria" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" /> 
        <link rel="shortcut icon" href="${resource(dir:'images',file:'tesoreria.ico')}" type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="application" />
    </head>
    <body>
    <div class="page-container">
        <div class="header">
      
      <!-- A.1 HEADER TOP -->
      <div class="header-top">
        
        <!-- Sitelogo and sitename -->
        <a class="sitelogo" href="${createLink(uri: '/')}" title="AGOEC"></a>
        <div class="sitename">
          <h1><a href="${createLink(uri: '/')}" title="AGOEC">AGOEC</a></h1>
                <h2>Tesoreria</h2>
        </div>			

        <!-- Navigation Level 1 -->
        <div class="nav1">
          <ul>
            <li><a href="#" title="Go to Start page"></a></li>
            <li><a href="#" title="Get to know who we are"></a></li>
            <li><a href="#" title="Get in touch with us"></a></li>																		
            <li><a href="#" title="Get an overview of website"></a></li>
          </ul>
        </div>              
      </div>
      
      <!-- A.2 HEADER MIDDLE -->
      <div class="header-middle">    
        <!-- Site message -->
        <div class="sitemessage">
			<h2>Sistema de Gestion</h2>
        </div>        
      </div>
      
      <!-- A.3 HEADER BOTTOM -->
      <div class="header-bottom">
      
        <!-- Navigation Level 2 (Drop-down menus) -->
        <div class="nav2">
	
          <!-- Navigation item -->
          <ul>
            <li><a href="${createLink(uri: '/')}">Inicio</a></li>
          </ul>
          
          <!-- Navigation item -->
          <ul>
            <li><g:link action="home" controller="afiliado">Afiliados<!--[if IE 7]><!--></g:link><!--<![endif]-->
              <!--[if lte IE 6]><table><tr><td><![endif]-->
                <ul>
                  <li><g:link controller="afiliado" action="create">Nuevo...</g:link></li>
                  <li><g:link controller="afiliado" action="home">Padron</g:link></li>
                  <li><g:link action="home" controller="consultaAfiliados">Consultas</g:link></li>
                </ul>
            </li>
          </ul>          

          <!-- Navigation item -->
          <ul>
            <li><g:link action="list" controller="proveedor">Proveedores<!--[if IE 7]><!--></g:link><!--<![endif]-->
              <!--[if lte IE 6]><table><tr><td><![endif]-->
                <ul>
                  <li><a href="/GTesoreria/proveedor/create">Nuevo...</a></li>
                  <li><a href="/GTesoreria/proveedor/list">Listado</a></li>
                  <li><a href="/GTesoreria/proveedor/listDeudasView">Pagos</a></li>
                  
                </ul>
              <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
          </ul>  
          <!-- Navigation item -->
          <ul>
            <li><g:link action="listConsumosPeriodoView" controller="consumo">Descuentos<!--[if IE 7]><!--></g:link><!--<![endif]-->
              <!--[if lte IE 6]><table><tr><td><![endif]-->
                <ul>
                  <li><a href="/GTesoreria/consumo/listConsumosPeriodoView">Descuentos por mes</a></li>
                  
                  
                </ul>
              <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
          </ul>
          <!-- Navigation item -->
          <ul>
            <li><g:link action="listPendientesView" controller="consumo">Pendientes<!--[if IE 7]><!--></g:link><!--<![endif]-->
              <!--[if lte IE 6]><table><tr><td><![endif]-->
                <ul>
                  <li><a href="/GTesoreria/consumo/listPendientesPeriodoView">Pendientes</a></li>
                  
                  
                </ul>
              <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
          </ul>  
          <!-- Navigation item -->
          <ul>
            <li><g:link action="listPorPeriodoView" controller="consumo">Consumos<!--[if IE 7]><!--></g:link><!--<![endif]-->
              <!--[if lte IE 6]><table><tr><td><![endif]-->
                <ul>
                  	
                	<li><a href="/GTesoreria/consumo/listPorPeriodoView">Consumos por periodo</a></li>
                	<li><a href="/GTesoreria/proveedor/importacion">Importar Consumos</a></li>
                </ul>
              <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
          </ul> 
          
          <!-- Navigation item -->
          <ul>
            <li><g:link action="home" controller="adelanto">Adelantos<!--[if IE 7]><!--></g:link><!--<![endif]-->
              <!--[if lte IE 6]><table><tr><td><![endif]-->
                <ul>
                  
                </ul>
              <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
          </ul> 
          <ul>
            <li><g:link action="listPrestamos" controller="prestamo">Prestamos<!--[if IE 7]><!--></g:link><!--<![endif]-->
              <!--[if lte IE 6]><table><tr><td><![endif]-->
                <ul>
                  
                </ul>
              <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
          </ul>         
        </div>
	  </div>

      <!-- A.4 HEADER BREADCRUMBS -->

      <!-- Breadcrumbs -->
      <div class="header-breadcrumbs">
        <ul>
          <li><a href="#">Inicio</a></li>
          <g:each in="${breadcrumbOptions}" var="option">
            	<li>${option}</li>
          </g:each>
          
          
        </ul>

        <!-- Search form                
        <div class="searchform">
          <form action="index.html" method="get">
            <fieldset>
              <input name="field" class="field"  value=" Search..." />
              <input type="submit" name="button" class="button" value="GO!" />
            </fieldset>
          </form>
        </div>-->   
      </div>
    </div>
        
       <div class="main"> 
        			
      <!-- B.1 MAIN NAVIGATION -->
      <div class="main-navigation">

        <!-- Navigation Level 3 -->
        <div class="round-border-topright"></div>
        <h1 class="first">Menu</h1>

        <!-- Navigation with grid style -->
        <dl class="nav3-grid">
          <dt><g:link action="home" controller="afiliado">Afiliados</g:link></dt>
            <g:each in="${afiliadosOptions}" var="option">
            	<dd><a href="${option.link}">${option.text}</a></dd>
            </g:each>
            		
          <dt><g:link action="list" controller="proveedor">Proveedores</g:link></dt>
          <g:each in="${proveedorOptions}" var="option">
            	<dd><a href="${option.link}">${option.text}</a></dd>
            </g:each>
          <dt><g:link action="listConsumosPeriodoView" controller="consumo">Descuentos</g:link></dt>
          <g:each in="${descuentoOptions}" var="option">
            	<dd><a href="${option.link}">${option.text}</a></dd>
            </g:each>
          <dt><g:link action="listPendientesView" controller="consumo">Pendientes</g:link></dt>
          <g:each in="${pendientesOptions}" var="option">
            	<dd><a href="${option.link}">${option.text}</a></dd>
            </g:each>
          <dt><g:link action="listPorPeriodoView" controller="consumo">Consumos</g:link></dt>
          <g:each in="${consumoOptions}" var="option">
            	<dd><a href="${option.link}">${option.text}</a></dd>
            </g:each>
          <dt><g:link action="home" controller="adelanto">Adelantos</g:link></dt>
          <g:each in="${adelantosOptions}" var="option">
            	<dd><a href="${option.link}">${option.text}</a></dd>
            </g:each>
            <dt><g:link action="listPrestamos" controller="prestamo">Prestamos</g:link></dt>
          <g:each in="${prestamosOptions}" var="option">
            	<dd><a href="${option.link}">${option.text}</a></dd>
            </g:each>
        </dl>                        

                       
        <!-- Login -->
        <h1>Login</h1>
        <div class="loginform">
          <form method="post" action="/"> 
            <p><input type="hidden" name="rememberme" value="0" /></p>
            <fieldset>
              <p><label for="username_1" class="top">Usuario:</label><br />
                <input type="text" name="username_1" id="username_1" tabindex="1" class="field" onkeypress="return webLoginEnter(document.loginfrm.password);" value="" /></p>
    	      <p><label for="password_1" class="top">Password:</label><br />
                <input type="password" name="password_1" id="password_1" tabindex="2" class="field" onkeypress="return webLoginEnter(document.loginfrm.cmdweblogin);" value="" /></p>
    	      <p><input type="checkbox" name="checkbox_1" id="checkbox_1" class="checkbox" tabindex="3" size="1" value="" onclick="webLoginCheckRemember()" /><label for="checkbox_1" class="right">Recuerdame</label></p>
    	      <p><input type="submit" name="cmdweblogin" class="button" value="LOGIN"  /></p>
	          <p><a href="#" onclick="webLoginShowForm(2);return false;" id="forgotpsswd_1">Olvidate tu password?</a></p>
	        </fieldset>
          </form>
        </div>

        <!-- Search form -->                  
        <h1>Buscar Afiliado</h1>
        <div class="searchform">        
          <g:form action="search" controller="afiliado" method="post" enctype="multipart/form-data">
            <fieldset>
              <input name="searchText" id="searchText" class="field"  value=" Buscar..." onclick="getElementById('searchText').value =''"/>
              <g:submitButton name="search" value="Go!" class="button" ></g:submitButton>
            </fieldset>
          </g:form>
        </div>
      </div>
 
        					
        		
        			<div id="center">
        			<g:layoutBody />
        			</div>		
        			</div>
     
         <div class="footer">
      <p>Copyright &copy; 20011 AGOEC | Todos los derechos reservados</p>
    </div> 
    </div>   
    </body>
</html>